﻿using System;
using DataGeneration.Domain.Helpers;

namespace DataGeneration.Domain.Logging
{
    public static class Logger
    {
        public static double CurrentState { get; private set; }
        public static void WriteMessage(string message)
        {
            if (!ParameterizedAppSettings.SilentMode)
            {
                Console.WriteLine(message);
            }
        }

        public static void RecordPercentageComplete(double percentageComplete)
        {
            CurrentState = percentageComplete;
        }
    }
}


